package com.mycom.core1;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 加载applicationContext.xml 配置文件
 * Created by songcz on 2017/4/11.
 */
public class ConfigInit {
    
    private static final Logger log = LoggerFactory.getLogger(ConfigInit.class);
    
    public void start(){
        ClassPathXmlApplicationContext cac = new ClassPathXmlApplicationContext(new String[]{"applicationContext.xml"});
        log.info("Config启动完成！");
    }
}
